home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK1.toast / Development Kits (Disc 1) / AppleScript / Development Tools / Sample Code / 7Edit 3.1 / Sources / Offscreen.h < prev    next >
Encoding:
Text File  |  1995-11-20  |  625 b   |  31 lines  |  [TEXT/MMCC]

  1. // Offscreen.h
  2. //
  3. // 7Edit 3.1d1. Original version by Jon Lansdell and Nigel Humphreys.
  4. // 3.1 updates by Greg Sutton.
  5. // ©Apple Computer Inc 1995, all rights reserved.
  6.  
  7. #pragma once
  8.  
  9. #ifndef __QUICKDRAW__
  10.     #include <Quickdraw.h>
  11. #endif
  12.  
  13. #ifndef __QDOFFSCREEN__
  14.     #include <QDOffscreen.h>
  15. #endif
  16.  
  17.  
  18. typedef struct WindowOffscreen
  19. {
  20.     CGrafPtr        windowPort;
  21.     GDHandle        windowDevice;
  22.     GWorldPtr        offscreenWorld;
  23. } tWindowOffscreen;
  24.  
  25.  
  26. tWindowOffscreen* DrawOffscreen ( WindowPtr theWindow );
  27. tWindowOffscreen* DrawOnscreen ( tWindowOffscreen* theOffscreen );
  28. tWindowOffscreen* DisposeOffscreen ( tWindowOffscreen* theOffscreen );
  29.  
  30.  
  31.